using System.Collections.Generic;
using System.Text.Json.Serialization;

namespace Eamon.MeituanDotnetSDK.model.ddzh.tuangou.tuangouReceiptQuerylistbydate
{
    /// <summary>
    /// 验券记录
    /// </summary>
    public class TuangouReceiptQuerylistbydateResponse
    {
        /// <summary>
        /// 已验券数量
        /// </summary>
        [JsonPropertyName("totalCount")]
        public int? TotalCount { get; set; }

        /// <summary>
        /// 验券记录列表
        /// </summary>
        [JsonPropertyName("records")]
        public List<ReceiptQueryBaseResult> Records { get; set; }

        public override string ToString()
        {
            return $"TuangouReceiptQuerylistbydateResponse{{TotalCount={TotalCount}, Records={Records}}}";
        }
    }
}
